package org.eiahe.hr.interview.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.ehe.common.mybatis.core.domain.BaseEntity2;
import org.eiahe.hr.interview.domain.InterviewRecord;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author :zhangnn
 * @className :InterviewRecordVO
 * @description: TODO
 * @date 2025-08-14 09:32:09
 */
@Data
@AutoMapper(target = InterviewRecord.class)
public class InterviewRecordVO extends BaseEntity2 {
    private Long id;

    private Long bankId;
    /**
     * 候选人ID
     */
    private Long candidateId;

    /**
     * 候选人姓名
     */
    private String name;

    /**
     * 候选人年龄
     */
    private Integer age;

    /**
     * 候选人身份证号
     */
    private String idCard;
    /**
     * 手机号
     */
    private String phone;

    /**
     * 面试职位分类ID
     */
    private Long categoryId;
    /**
     * 职位名称
     */
    private String categoryName;

    /**
     * 面试等级(1-初级, 2-中级, 3-高级)
     */
    private Integer level;

    /**
     * 面试官
     */
    private String interviewer;

    /**
     * 面试时间
     */
    private LocalDateTime interviewDate;

    /**
     * 总分
     */
    private BigDecimal totalScore;

    /**
     * 平均分
     */
    private BigDecimal avgScore;

    /**
     * 面试状态(1-进行中, 2-已完成, 0-未开始)
     */
    private Integer status;

    /**
     * 面试结果(1-通过, 2-不通过, 3-待定)
     */
    private Integer interviewResult;

    /**
     * 面试评语
     */
    private String comments;

    /**
     * 是否录用(1-录用, 0-不录用)
     */
    private Integer isHired;

    /**
     * 答题记录信息
     */
    private List<InterviewQuestionRecordVO> questionRecordVOList;

    private InterviewBehaviorTestRecordsVO behaviorTestRecordsVO;

}
